package com.easytake.emotioncat.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author baomidou
 * @since 2022-10-27
 */
@Getter
@Setter
@TableName("em_dictionary")
@Schema(title = "字典")
public class EmDictionaryEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @Schema(title = "自增主键")
    private Integer id;

    /**
     * 字典值
     */
    @TableField("vals")
    @Schema(title = "字典英文code")
    private String vals;

    /**
     * 字典展示值
     */
    @TableField("shows")
    @Schema(title = "字典展示值(中文值)")
    private String shows;

    /**
     * 1. 情绪类型 2. 情绪影响
     */
    @TableField("type")
    @Schema(title = "1. 情绪类型 2. 情绪影响")
    private Integer type;
}
